projects
/
suricata.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6f0038
)
[PATCH] af-packet: fix build on recent Linux kernels
author
Eric Leblond
<eric@regit.org>
Wed, 17 Jul 2019 10:35:12 +0000
(12:35 +0200)
committer
Andreas Dolp
<dev@andreas-dolp.de>
Tue, 13 Jan 2026 18:51:26 +0000
(19:51 +0100)
Gbp-Pq: Name import-sockio-h.patch
src/source-af-packet.c
patch
|
blob
|
history
diff --git
a/src/source-af-packet.c
b/src/source-af-packet.c
index e0d0af670a5b76e90d56023e5784205eafe1298a..55daa0b42e0e31d6d606eac1d24ab19c04a9485f 100644
(file)
--- a/
src/source-af-packet.c
+++ b/
src/source-af-packet.c
@@
-71,6
+71,10
@@
#include <linux/sockios.h>
#endif
+#if HAVE_LINUX_SOCKIOS_H
+#include <linux/sockios.h>
+#endif
+
#ifdef HAVE_PACKET_EBPF
#define PCAP_DONT_INCLUDE_PCAP_BPF_H 1
#include <bpf/libbpf.h>